package com.handsome.适配器模式.类适配器;

/**
 * 适配器类
 * @author niechun
 * @date 2023/2/1 21:04
 */
public class VoltageAdapter extends Voltage220 implements Voltage5{
    @Override
    public int output5() {
        System.out.println("适配电压");
        int result=output220()/44;
        return result;
    }
}
